﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;


namespace ZG_member.BLL
{
    public class Leave
    {
        ZG_member.DAL.Leave dal = new ZG_member.DAL.Leave();

        public bool add(ZG_member.Model.Leave model)
        {
            return dal.add(model);
        }

        public DataSet GetListWhere(string strWhere)
        {
            return dal.GetListWhere(strWhere);
        }

        public bool Update(ZG_member.Model.Leave model)
        {
            return dal.Update(model);
        }

        public DataSet GetList(string strWhere)
        {
            return dal.GetList(strWhere);
        }
        public DataSet GetList(int Size,int Num,string where)
        {
            return dal.GetList(Size, Num, where);
        }

        public bool Delete(int id)
        {
            return dal.Delete(id);
        }

        public ZG_member.Model.Leave GetModel(int id)
        {
            return dal.GetModel(id);
        }

        public ZG_member.Model.Leave GetModel(string memberId)
        {
            return dal.GetModel(memberId);
        }

    }
}
